
import { Tools } from 'weaver-mobile';

//获取列表数据
export const odocLibrary = (params={}) => {
	return Tools.callApi({url:'/api/odoc/odocDoclib/odocLibrary',  method:'POST', params});
}
//获取列表数据
export const getTodoList = (params={}) => {
	return Tools.callApi({url:'/api/odoc/odocTodoList/getTodoList',  method:'POST', params});
}
//获取tabs
export const getCenterTab = (params={}) => {
	return Tools.callApi({url:'/api/odoc/odocCenter/odocMobileTab',  method:'POST', params});
}
//获取主题  
export const getHotTheme = (params={}) => {
	return Tools.callApi({url:'/api/odoc/odocCenter/getCountByTopicType',  method:'POST', params});
}
//获取代办tabs的数据
export const getTodoTabs = (params={}) => {
	return Tools.callApi({url:'/api/odoc/odocTodoList/getTodoCount',  method:'POST', params});
}
//获取用户的id
export const getUserId = (params={}) => {
	return Tools.callApi({url:'/api/odoc/odocCenter/odocGetUserId',  method:'POST', params});
}